<template>
	<div>

	<div class="display_sw">
		<div class="home_left" v-if="winParams.winning_num">
			<span class="shengxiao_span" v-for="(item,index) in list" :key="index">
             <img :src="require('../../../assets/images/caipiao/shengxiao'+item+'.png')" alt="">
            </span>
		</div>
		<p class="home_you_fz">
			第<b class="color_red" v-if="winParams.nper">{{winParams.nper}}</b> 期
		</p>
	</div>

	</div>
</template>

<script>
	export default {
		props: {
      winParams: {
        type: Object,
        default: ()=>{
          return {
            winning_num: '',
            nper: ''
          }
        }
      }
    },
    computed: {
      list(){
        return this.winParams.winning_num.split(',')
      }
    }
	}
</script>

<style>

</style>
